home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / HENSA / MATHS / PLPLOT / PLPLOT.ZIP / sys / dos / emx / README < prev   
Encoding:
Text File  |  1994-08-27  |  2.0 KB  |  61 lines

  1. Support for compliation of plplot with
  2.     emx0.8h (gcc 2.5.7)
  3.     svgakit/vesakit 1.6 (Johannes Martin)
  4.  
  5. See README.emx for information on obtaining both of the above.
  6.     
  7. The final executables run in DOS or DOS mode of OS/2.
  8. Forget about trying to run in a ms-Windows DOS box.
  9.  
  10. To compile everything simply:
  11.     > mkmf
  12.     > cd tmp
  13.     > make links
  14.     > make
  15.     > make install
  16.  
  17. The install can provide the stubs for FORTRAN via "f2c", the fortran-to-C
  18. converter.  Set the "enable_f77" variable to "yes" in ./mkmf.bat to install
  19. the f2c stubs.  I have not personally tested this, but is said to work with
  20. the djgpp/gcc port.
  21.  
  22. The makefiles have been tested and work with dmake3.8 and GNU make.
  23. The only Unix-ish tool that is required by the makefile(s) is an
  24. `rm` that understands forward-slashes to remove the library target.
  25.  
  26. The default installations are
  27. plplot library:        /usr/local/plplot/lib
  28. demo programmes:    /usr/local/plplot/demos
  29.  
  30. These locations can be changed in the ./cf/init.in file.  
  31. (Please note the UNIX and MS-DOS name types and change BOTH.)
  32.  
  33. To compile the demos:
  34.     > cd DEMOS_DIRECTORY/c
  35.     > make cdemos
  36.     > make bind
  37.  
  38. The final step is to enable port and memory access for the VESA driver.
  39. If a demo executable core dumps when you use "-dev vga", it is probably
  40. because you forgot the final binding step.
  41.  
  42. Other customizations:
  43.  
  44.  - pldevs.h
  45.    Define the appropriate macro to enable the corresponding output driver.
  46.  
  47.  - plconfig.h
  48.    Define (string) values for LIB_DIR, BIN_DIR, and TCL_DIR if you want
  49.    plplot to look somewhere other than the hardwired or
  50.    environmentally-set locations for the files it needs.
  51.    These values (and/or the environment variables) should be in
  52.    forward-slash UNIX style, but can include a drive specifier.
  53.    eg, #define LIB_DIR "c:/usr/local/plplot/lib/"
  54.  
  55. Many thanks to Paul Kirschner (pek@utrc.utc.com) for his djgpp configuration
  56. which provided the basis for this one.
  57.  
  58. Mark Olesen
  59. Queen's University at Kingston
  60. olesen@weber.me.queensu.ca
  61.